import service from '@/utils/request';
const api = 'api';

// 活动审核列表
export function getActivityList(data) {
  return service({
    url: `${api}/system/audit/activity/pendingReviewList`,
    method: 'post',
    data,
  });
}

// 活动审核通过
export function AdoptActivityList(data) {
  return service({
    url: `${api}/system/audit/activity/approve`,
    method: 'post',
    data,
  });
}

// 活动审核拒绝
export function RefuseActivityList(data) {
  return service({
    url: `${api}/system/audit/activity/reject`,
    method: 'post',
    data,
  });
}

// 活动审核详情
export function DetailsActivityList(id) {
  return service({
    url: `${api}/system/audit/activity/getDetailById?activityId=${id}`,
    method: 'get',
  });
}
